﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:c="clr-namespace:HomeUX.Controls;assembly=HomeUX.ClientLibrary"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="HomeUX.MusicClientLibrary.MusicArtistScreen"
    Width="800" Height="530" IsTabStop="False" mc:Ignorable="d" IsEnabled="False">
    <Grid x:Name="LayoutRoot" Background="{StaticResource DefaultBackgroundBrush}">
        <Grid.Resources>
            <Style x:Key="MusicTextStyle" TargetType="TextBlock">
                <Setter Property="Width" Value="180" />
				<Setter Property="Height" Value="210" />
                <Setter Property="LineHeight" Value="16" />
                <Setter Property="LineStackingStrategy" Value="BlockLineHeight" />
                <Setter Property="TextWrapping" Value="Wrap" />
                <Setter Property="Margin" Value="8,0,8,0" />
            </Style>
        </Grid.Resources>

		<TextBlock x:Name="HeaderTextBlock" Text="{}{0} - Artist - {1}" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="18" Margin="10,10,0,0" />

        <c:TouchListBox x:Name="AlbumsListBox" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,40,0,0" Width="775" Height="482"
            DragZoneVisibility="Hidden" ScrollSliderVisibility="VisibleAlways" IsEnabled="True"
            SelectionMode="None" ItemClick="AlbumsListBox_ItemClick">
				  <c:TouchListBox.ItemButtonStyle>
	              	<Style TargetType="c:TouchListBoxItem">
	                    <Setter Property="Width" Value="160" />
	                    <Setter Property="Height" Value="200" />
	                    <Setter Property="HorizontalContentAlignment" Value="Center" />
	                    <Setter Property="IsTabStop" Value="False" />
	                </Style>
				  </c:TouchListBox.ItemButtonStyle>
				  <!-- doesn't work unless you have string items: ItemStyle="{StaticResource MusicTextStyle}" -->
	        <!--
			<Grid Width="200" Height="250">
				<Grid.RowDefinitions>
					<RowDefinition Height="200" />
					<RowDefinition Height="50" />
				</Grid.RowDefinitions>
				<Image Grid.Row="0" Width="200" Height="200" />
				<TextBlock Grid.Row="1" Text="Hello" FontSize="13" TextAlignment="Center" VerticalAlignment="Center" />
			</Grid>
	        -->
        </c:TouchListBox>
		
		<!--<TextBlock x:Name="LoadingTextBlock" Text="Loading..." Visibility="Collapsed"  FontSize="18" HorizontalAlignment="Center" VerticalAlignment="Center" />-->
		
    </Grid>
</UserControl>
